import request from '@/utils/request'

export function addCourseInfo(data) {
  return request({
    url: '/eduservice/course/addCourseInfo',
    method: 'post',
    data
  })
}

export function getListTeacher() {
  return request({
    url: '/eduservice/edu-teacher/findAll',
    method: 'get'
  })
}

/**
 * 获取所有一级二级分类
 */
export function getSubjectList() {
  return request({
    url: '/eduservice/edu-subject/getSubjectList',
    method: 'get'
  })
}
